import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/components/Home'
import PromptList from '@/components/PromptList'
import UploadPromptImage from '@/components/UploadPromptImage'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/PromptList',
    name: 'Prompt List',
    component: PromptList
  },
  {
    path: '/UploadPromptImage',
    name: 'Upload Prompt Image',
    component: UploadPromptImage
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
